<input type="text" pattern=/\w{2,20}/ />